package com.design.builder;

public class Director {

    private IBuilder builder;

    public Director(IBuilder builder){
        this.builder=builder;
    }
    public Production construct(){
        builder.buildPart1();
        builder.buildPart2();
        return builder.build();
    }


}
